package com.bfl.sa.personal.calendar.mapper;

import com.bfl.sa.common.mapper.BaseMapper;
import com.bfl.sa.personal.calendar.entity.Calendar;
import org.apache.ibatis.annotations.Param;

import java.util.Date;


public interface CalendarMapper extends BaseMapper<Calendar, Long> {

    Long countRecentlyCalendar(
            @Param("userId") Long userId,
            @Param("nowDate") Date nowDate,
            @Param("nowTime") Date nowTime,
            @Param("interval") Integer interval
    );
}
